#include <stdio.h>


int Sum(int start,int end)
{
    int sum = 0;
    int i = start;
    for( ; i < end ; ++i)
    {
        sum += i;
    }

    return sum;
}

int Div(int a,int b)
{   
    if(b != 0)
    return a/b;
    return 1;
}

int Add(int a,int b)
{
    return a+b;
}

int main()
{
    int start = 1,end = 100;
    int a = 10 , b = 0;
    
    printf("program start...\n");

    int sum = Sum(start,end);
    int div = Div(a,b);
    int add = Add(a,b);


    printf("Div = %d, Add = %d",div,add);
    printf("program end:Sum = %d\n",sum);


    return 0;
}
